import request from '@/utils/request'

export function fetchList(data) {
  return request({
    url: '/late-fee/list',
    method: 'post',
    data
  })
}

export function createLateFee(data) {
  return request({
    url: '/late-fee/create',
    method: 'post',
    data
  })
}

export function updateLateFee(data) {
  return request({
    url: '/late-fee/update',
    method: 'post',
    data
  })
}

export function disableLateFee(data) {
  return request({
    url: '/late-fee/disable',
    method: 'post',
    data
  })
}

export function enableLateFee(data) {
  return request({
    url: '/late-fee/enable',
    method: 'post',
    data
  })
}
